package cn.slipi.service.common.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * @author litao
 */
@Data
public class BaseEntity implements Serializable {

    private Integer status;

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private Long createdAt;

    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private Long updatedAt;

    private Long deletedAt;

}